package com.ruibang.glass.equipment.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.equipment.domain.req.WareHouseManagementReq;
import com.ruibang.glass.equipment.dto.SelectDTO;
import com.ruibang.glass.equipment.entity.device.WareHouseManagement;
import com.teaming.cloud.framework2.common.model.ResultBody;

import java.util.List;

/**
 * <p>
 * 仓库管理服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
public interface WareHouseManagementService extends IService<WareHouseManagement> {
    /**
     * 仓库管理
     * @param managementReq
     * @return
     */
    IPage<WareHouseManagement> queryPage(WareHouseManagementReq managementReq);
    /**
     * 新增
     * @param wareHouseManagement
     * @return
     */
    ResultBody updateOrAddById(WareHouseManagement wareHouseManagement);
    /**
     * 查询下拉
     * @param
     * @return
     */
    List<SelectDTO> getWareList();


}
